#!/bin/bash
#批量解压某个目录下的tar包  
PATH1=/home/packages
PATH2=/home/iflytek
for i in `find  $PATH1  -name  "*.tar.*"|xargs -n 1`;do
    tar xf  $i  -C $PATH2
done